import { defineStore } from 'pinia'
//import { type ,OrderTrackInfo } from '../pages/myOrder/types';

interface MyOrderStates {
    ptaskno: string,
    //  trackingList:OrderTrackInfo,
    orderList: any,
    payList: any,
    trackingList: any,
}

const useMyOrderStore = defineStore("myOrderInfo", {
    // 持久化存储插件其他配置
    state: (): MyOrderStates => ({
        ptaskno: '',
        // trackingList:{},
        orderList: {},
        payList: [],
        trackingList: {},
    }),

    actions: {

    },

    getters: {

    },
})

export default useMyOrderStore
